import request from '@/util/ajax.js'

export function getUsersByChestGroupAPI(reqData) {
  return request({
    url: '/back_front/users_chestGroups/getUsersByChestGroupService',
    method: 'get',
    params: reqData
  })
}

export function getChestGroupsByUserAPI(reqData) {
  return request({
    url: '/back_front/users_chestGroups/getChestGroupsByUserService',
    method: 'get',
    params: reqData
  })
}

export function changeUsersByChestGroupAPI(reqData) {
  return request({
    url: '/back_front/users_chestGroups/changeUsersByChestGroupService',
    method: 'post',
    data: reqData
  })
}

export function changeChestGroupsByUserAPI(reqData) {
  return request({
    url: '/back_front/users_chestGroups/changeChestGroupsByUserService',
    method: 'post',
    data: reqData
  })
}
